It's now possible to run lua script on your Android and Steam Deck for the lua or Mato translations, details below:

GUIDE to use SNES9x 1.60rr (emulator capable to run Lua scripts) on Android devices:

1) Grab and install the latest Winlator apk here: 
https://github.com/brunodev85/winlator/releases
2) Download SNES9x 1.60rr at this link: 
https://github.com/gocha/snes9x-rr/releases 
and extract the folder to your phone's download folder
3) Start Winlator and create a container with the default option and you'll find SNES9x.exe in D: unity
4) Select Input in the settings and then import: 
Import my touchscreen controller setup
5) Enjoy (all the other steps are the same for a Windows environment)

https://www.mediafire.com/file/iugblbc03oh8xou/Snes+controller.icp/file